package com.wish233.retry;

import com.wish233.model.rpc.RpcResponse;

import java.util.concurrent.Callable;

/**
 * 重试策略
 * @author WHH
 */
public interface RetryStrategyKey {

    String NO_RETRY_STRATEGY = "default";
    String FIXED_INTERVAL_RETRY_STRATEGY = "fixed";
    String INCR_RETRY_STRATEGY = "incr";
    String EXPONENTIAL_RETRY_STRATEGY = "exponential";

}
